package com.oc.mba.util;

public class CommConsts {

	/**
	 * 逻辑删除
	 */
	public static final boolean LOGIC_DELETE = true;
	
	/**
	 * 返回值标签
	 */
	public static final String RESULT_FLAG 				= "Result";
	
	/**
	 * 返回值描述
	 */
	public static final String Result_DETAIL_FLAG 		= "Detail";
	

	/**
	 * 安全认证KEY
	 */
	public static final String SECURE_KEY 				= "secureKey";
	
	/**
	 * 请求标签
	 */
	public static final String REQ_FLAG 				= "req";
	
	/**
	 * 分发标签
	 */
	public static final String SIGNID_FLAG 				= "signID";
	
	/**
	 * 内容标签
	 */
	public static final String CONTENT_FLAG 			= "content";
	
	/**
	 * 设备ID(数据库主键)
	 */
	public static final String DEVICE_ID = "deviceID";
	
	/**
	 * 取得试题列表 
	 */
	public static final String SIGNID_LIST_PAPERS = "200";
	
	/**
	 * 下载试题
	 */
	public static final String SIGNID_DOWNLOAD_PAPER = "201";
	
	/**
	 * 取得所有消息列表 
	 */
	public static final String SIGNID_LIST_MESSAGES = "400";
	
	/**
	 * 取得所有消息列表 
	 */
	public static final String SIGNID_FEED_BACK_MESSAGES = "401";
	
	/**
	 * 订单ID 
	 */
	public static final String ORDER_ID = "orderID";
	/**
	 * 订单DID 
	 */
	public static final String ORDER_DID = "orderDID";


	/**
	 * 用户等级Key
	 */
	public static final String VIP_LEVEL_KEY = "level";

	public static final String PAGESIZE = "20";

	public static final String PUBLISH = "1";

	public static final String PAPER_ID = "paperID";

	public static class DbValue {

		public static final short MSG_TYPE_DAILY = 101;
		public static final short MSG_NEED_EXPIRE = 1;
		public static final short MSG_FEEDBACK_YES = 1;
		public static final short MSG_FEEDBACK_NO = 0;
	}

	public static class State {
		/**
		 * 发布状态
		 */
		public static final Integer PUBLISH = 1;
		/**
		 * 未发布状态
		 */
		public static final Integer UNPUBLISH = 0;
		
	}


}
